package com.bdsc.blogs.mirror;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 马凯林
 */
@EnableEurekaClient
@SpringBootApplication
@PropertySource(
    value = {"classpath:jdbc.properties"},
    ignoreResourceNotFound = true,
    name = "jdbc.properties")
@PropertySource(
    value = {"classpath:thymeleaf.properties"},
    ignoreResourceNotFound = true,
    name = "thymeleaf.properties")
@PropertySource(
    value = {"classpath:jpa.properties"},
    ignoreResourceNotFound = true,
    name = "jpa.properties")
@PropertySource(
    value = {"classpath:actuator.properties"},
    ignoreResourceNotFound = true,
    name = "actuator.properties")
public class MirrorApplication {

  public static void main(String[] args) {
    SpringApplication.run(MirrorApplication.class, args);
  }
}
